Skip to content

Switch

Plugin: Logic | Mode: Run

Query the status of a variable and switch to a next state if the queried condition applies.

Unlike On Event  and On Change conditions, the Switch condition is only queried once at the beginning of the state.

If a condition applies, the state is changed immediately and the following actions, which are sorted under the switch action, are not executed.

Eine switch und eine next action

If the condition specified in the switch action is met, it continues in the "BE" state. The following actions are no longer executed.

If the condition does not apply, the switch action is skipped and the following next action leads to the "NOT_TO_BE" state.

Switch actions allow the same queries as other actions containing conditions.

Under Conditions you will learn how to query or compare variables in the Switch and other actions.